import { Component } from 'vue-facing-decorator'
import Render from '@/render/Render'
import toNative from '@/utils/toNative'
import InsuranceCompany from './components/insurance-company/Index'
import PushView from './components/push/Index'
import { TabPane, Tabs } from 'ant-design-vue'
@Component
export class RuleSetting extends Render {
    activeName = 'push'
    render() {
        return (
            <div class="p-20px">
                <Tabs v-model={this.activeName}>
                    <TabPane tab="方案规则" key="insuranceCompany">
                        <InsuranceCompany />
                    </TabPane>
                    <TabPane tab="推送规则" key="push">
                        <PushView />
                    </TabPane>
                    <TabPane tab="在保证明设置" key="proof">
                    3
                    </TabPane>
                </Tabs>
            </div>
        )
    }
}

export default toNative<{}, {}>(RuleSetting)
